package shuiyuqing.network.beans;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Calendar;

/**
 * @author cai
 * @date   2015-10-31
 * 实时闸坝水情表
 */
public class RealTimeIrrBRWaterDam implements Serializable{
//	private StadiaCodeMeaTimePrimaryKey stadiaCodeMeaTimePrimaryKey;	//测站采集时间联合主键类
	
	private String stadiaCode = "";			//测站编码
	private Calendar meaTime ;			//采集时间
	
	private BigDecimal heightUp = BigDecimal.ZERO;				//闸上水位
	private BigDecimal heightDown = BigDecimal.ZERO;				//闸下水位
	private BigDecimal fluxGate = BigDecimal.ZERO;				//过闸流量
	private BigDecimal openDegree1 = BigDecimal.ZERO;				//闸门开度1
	private BigDecimal openDegree2 = BigDecimal.ZERO;				//闸门开度2
	private BigDecimal openDegree3 = BigDecimal.ZERO;				//闸门开度3
	private BigDecimal openDegree4 = BigDecimal.ZERO;				//闸门开度4
	private BigDecimal openDegree5 = BigDecimal.ZERO;				//闸门开度5
	private BigDecimal gateOpenCount = BigDecimal.ZERO;			//开闸孔数
	private String gateState = "";					//操作状态 00:开闸门	01：关闸门	11：清空标志位
	
	private IrrBRStadia irrBRStadia;			//实时渠道水情表存在对测站的依赖关系
//	@Id
//	public StadiaCodeMeaTimePrimaryKey getStadiaCodeMeaTimePrimaryKey() {
//		return stadiaCodeMeaTimePrimaryKey;
//	}
//	public void setStadiaCodeMeaTimePrimaryKey(
//			StadiaCodeMeaTimePrimaryKey stadiaCodeMeaTimePrimaryKey) {
//		this.stadiaCodeMeaTimePrimaryKey = stadiaCodeMeaTimePrimaryKey;
//	}
	
	
	
	public BigDecimal getHeightUp() {
		return heightUp;
	}
	
	public String getStadiaCode() {
		return stadiaCode;
	}
	public void setStadiaCode(String stadiaCode) {
		this.stadiaCode = stadiaCode;
	}
	
	public Calendar getMeaTime() {
		return meaTime;
	}
	public void setMeaTime(Calendar meaTime) {
		this.meaTime = meaTime;
	}
	public void setHeightUp(BigDecimal heightUp) {
		this.heightUp = heightUp;
	}
	public BigDecimal getHeightDown() {
		return heightDown;
	}
	public void setHeightDown(BigDecimal heightDown) {
		this.heightDown = heightDown;
	}
	public BigDecimal getFluxGate() {
		return fluxGate;
	}
	public void setFluxGate(BigDecimal fluxGate) {
		this.fluxGate = fluxGate;
	}
	public BigDecimal getOpenDegree1() {
		return openDegree1;
	}
	public void setOpenDegree1(BigDecimal openDegree1) {
		this.openDegree1 = openDegree1;
	}
	public BigDecimal getOpenDegree2() {
		return openDegree2;
	}
	public void setOpenDegree2(BigDecimal openDegree2) {
		this.openDegree2 = openDegree2;
	}
	public BigDecimal getOpenDegree3() {
		return openDegree3;
	}
	public void setOpenDegree3(BigDecimal openDegree3) {
		this.openDegree3 = openDegree3;
	}
	public BigDecimal getOpenDegree4() {
		return openDegree4;
	}
	public void setOpenDegree4(BigDecimal openDegree4) {
		this.openDegree4 = openDegree4;
	}
	public BigDecimal getOpenDegree5() {
		return openDegree5;
	}
	public void setOpenDegree5(BigDecimal openDegree5) {
		this.openDegree5 = openDegree5;
	}
	public BigDecimal getGateOpenCount() {
		return gateOpenCount;
	}
	public void setGateOpenCount(BigDecimal gateOpenCount) {
		this.gateOpenCount = gateOpenCount;
	}
	public String getGateState() {
		return gateState;
	}
	public void setGateState(String gateState) {
		this.gateState = gateState;
	}
	
//	@OneToOne
//    @JoinColumn(name="stadiaCode",insertable=false,updatable=false)
	public IrrBRStadia getIrrBRStadia() {
		return irrBRStadia;
	}
	public void setIrrBRStadia(IrrBRStadia irrBRStadia) {
		this.irrBRStadia = irrBRStadia;
	}
	
}
